package com.yonyou.pmclouds.projecttype.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.projecttype.entity.ProjectTypeVO;

import java.util.Map;

/**
 * 项目类型查询接口
 */
public interface ProjectTypeQuery {
    ProjectTypeVO queryById(String id) throws BusinessException;

    ProjectTypeVO[] queryByIds(String[] ids)throws BusinessException;

    ProjectTypeVO queryByPkSrc(String id) throws BusinessException;

    Map<String, String> queryNamesByIds(String[] ids) throws BusinessException;

    String queryNameById(String id) throws BusinessException;
    /**
     * 查询所有的项目档案类型
     */
    ProjectTypeVO[] queryList(String pkTenant,byte enableStatus);
    /**
     * 组织下的项目类型
     */
    ProjectTypeVO[] queryByOrg(String pkOrg) throws BusinessException;
}
